package com.kifas.model.xml;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class GroupModel implements Serializable {

	private static final long serialVersionUID = -4477488725212511983L;

	private Long idGroup;
	private String name;
	private boolean enable;
	private List<MenuModel> menus;

	public GroupModel() {
	}

	public GroupModel(Long idGroup, String name, boolean enable) {
		this.idGroup = idGroup;
		this.name = name;
		this.enable = enable;
	}

	public Long getIdGroup() {
		return idGroup;
	}

	public void setIdGroup(Long idGroup) {
		this.idGroup = idGroup;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public List<MenuModel> getMenus() {
		return menus;
	}

	public void setMenus(List<MenuModel> menus) {
		this.menus = menus;
	}

}
